package com.lian.chatroom.message;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.ToString;

import java.util.Set;

/**
 * 组创建请求消息
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@ToString(callSuper = true)
public class GroupCreateRequestMessage extends Message{

    private String groupName;   //组名
    private Set<String> members;//组成员

    @Override
    public int getMessageType() {
        return GroupCreateRequestMessage;
    }
}
